<?php $length = count($model)-1;?>
<div class="bh-pj-jp-two-left bh-fl bh-pj-border bh-padB15">
	<h4 class="bh-ly-yw-shang"><span>
<!--		<a href="#">丽江</a><a href="#">厦门</a><a href="#">丽江</a><a href="#">乌镇</a><a href="#">南京</a><a href="#">九寨沟</a><a href="#">北戴河</a><a href="#">北京</a><a href="#">天津</a>-->
		<a href="<?php echo Yii::app()->controller->createUrl('list')?>">更多>></a></span>热门推荐</h4>
	<ul class="bh-padLR10 bh-mtop15 bh-fl">
	<?php for ($i=0; $i<=4; $i++):?>
		<?php if ($length < $i) break;?>
		<li><span><?php echo $model[$i]->ctime?></span><span><a href="javascript:void(0)" title='<?php echo $model[$i]->fullTitle?>'><?php echo $model[$i]->title(10)?></a></span><span>￥<?php echo CHtml::value($model[$i], 'priceInfo.price_dealer')?></span><span><input type="submit" class="bh-ly-yw-center-jjingqu-sub bh-href" value="预订" href='<?php echo Yii::app()->controller->createUrl('order/write',array('id'=>$model[$i]->id))?>'></span></li>
	<?php endfor;?>
	</ul>
	<ul class="bh-padLR10 bh-mtop15 bh-fr bh-noborder">
	<?php for ($i=5; $i<=9; $i++):?>
		<?php if ($length < $i) break;?>
		<li><span><?php echo $model[$i]->ctime?></span><span><a href="javascript:void(0)" title='<?php echo $model[$i]->fullTitle?>'><?php echo $model[$i]->title(10)?></a></span><span>￥<?php echo CHtml::value($model[$i], 'priceInfo.price_dealer')?></span><span><input type="submit" class="bh-ly-yw-center-jjingqu-sub bh-href" value="预订" href='<?php echo Yii::app()->controller->createUrl('order/write',array('id'=>$model[$i]->id))?>'></span></li>
	<?php endfor;?>
	</ul>
</div>